import $axios from '@/utils/request'

// 获取所有推荐
export const getRecommend = () => {
  return $axios({
    url: '/api/getRecommend',
    method: 'get'
  })
}

// 获取专辑信息
export const getAlbumDetail = params => {
  return $axios({
    url: '/api/getAlbum',
    method: 'get',
    params
  })
}
